package com.chukun.dubbo.spi.service.impl;

import com.chukun.dubbo.spi.service.Order;
import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Activate;

@Activate(group = {"online", "offline"}, order = 3, value = "card")
public class CardOrder implements Order {
    @Override
    public String way() {
        System.out.println("---  使用银联卡支付  ---");
        return "银联卡支付";
    }

    @Override
    public String pay(URL url) {
        return "正在使用银联卡支付";
    }
}
